<?php 
if(!isset($_COOKIE["username"])){
header("location: ../index.php");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>
            Quản lý hệ thống
        </title>
        <link href="../../css/style.css" type="text/css" rel="stylesheet"/>
        <link href="../../css/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" rel="stylesheet"/>
        <link href="../../css/jquery.wysiwyg.css" type="text/css" rel="stylesheet"/>
        <link href="../../css/uniform.default.css" type="text/css" rel="stylesheet"/>
        <link rel="stylesheet" type="text/css" href="../../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
        <script type="text/javascript" src="../../js/jquery-1.6.1.min.js"></script>    
        <script type="text/javascript" src="../../js/jquery-corner.js"></script>   
        <script type="text/javascript" src="../../js/jquery-ui-1.8.11.custom.min.js"></script>
        <script type="text/javascript" src="../../js/jquery-ui-timepicker-addon.js"></script>
        <script type="text/javascript" src="../../js/jquery.wysiwyg.js"></script>
        <script type="text/javascript" src="../../js/jquery.uniform.js"></script>
         <script type="text/javascript" src="../../js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
        <script type="text/javascript" src="../../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>   

        <script type="text/javascript">
            $(function(){            
                $("input[type=file]").uniform();
                $("#banner").corner("top 10px");
                $("#wrapper").corner("10px");
                $("#login-form").corner("10px");
                $("#login-right").corner("10px");
                $("#panelNav").corner("10px");
                $("#main-container").corner("10px"); 
            });            
        </script>
    </head>
    <body>
        <div id="wrapper">
            <div id="banner">
                <div id="logo">
                    <?php
                    echo!strstr($_SERVER["PHP_SELF"], "login.php") ? "<a href='../dashboard/'>Administration</a>" : "<a href='#'>Login</a>"
                    ?>
                </div>
            </div><!--end #banner-->
            <?php if (!strstr($_SERVER["PHP_SELF"], "login.php")) {
            ?>
                        <div id="menu">
                            <ul>
                                <li><a href="../dashboard/">Dashboard</a></li>
                                <li><a href="#">Danh mục quản lý</a>
                                    <ul>
                                        <li><a href="../sanpham/">Quản lý thành viên</a></li>
                                        <li><a href="../thongsokythuat/">Quản lý quyền</a></li>
                                        <li><a href="../thongsokythuat/">Quản lý thông tin lớp</a></li>
                                        <li><a href="../thongsokythuat/">Quản lý album hình ảnh</a></li>
                                        <li><a href="../thongsokythuat/">Quản lý danh mục</a></li>
                                    </ul>
                                </li>                                
                                <li><a href="#">Help</a></li>
                            </ul>
                        </div><!--end #menuNav-->
                        <div id="taskNav">
                            <ul>
                                <li><img src="../../Images/icon_user.png" alt="Số thành viên Login"/> Số thành viên đăng nhập:</li>
                                <li><img src="../../Images/icon_admin.png" alt="Số quản trị Login"/> Số quản trị viên đăng nhập: <?php echo $adminLogin ?></li>
                                <li><img src="../../Images/icon_privatemessage.png" alt="Message"/> <a  style="color:#299bc5" href="../gopy/">Message</a></li>
                                <li><img src="../../Images/icon_alert.png" alt="Message"/> <a style="color:#299bc5" href="../account/logout.php">Logout</a></li>
                            </ul>
                        </div>
            <?php } else {

                    } ?>
